package com.dbqn.zhao.util;

import com.dbqn.zhao.service.BaseService;
import com.dbqn.zhao.service.StartServes;
import com.dbqn.zhao.service.impl.StartServesImpl;

import java.util.ArrayList;
import java.util.List;

public class ClientMain {

    public static void main(String[] args) {

        List list=new ArrayList();//存储用户的集合
        BaseService baseService =ServiceFactory.getService("start");
        baseService.execute(list);



        //多态---左边为接口，右边为实现类
//        StartServes startServes=new StartServesImpl();
//        startServes.execute();



    }

}
